home *** CD-ROM | disk | FTP | other *** search
/ The 640 MEG Shareware Studio 2 / The 640 Meg Shareware Studio CD-ROM Volume II (Data Express)(1993).ISO / mailers / tb040fdo.zip / TBFN.BAT < prev   
DOS Batch File  |  1992-05-16  |  1KB  |  58 lines

  1. @echo off
  2.  
  3. :start
  4. tbfido %1
  5. bt unattended
  6. if errorlevel=255 goto start
  7. if errorlevel=254 goto nonodelist
  8. if errorlevel=192 goto tb
  9. if errorlevel=128 goto tb
  10. if errorlevel=100 goto normaltb
  11. if errorlevel=96 goto tb
  12. if errorlevel=48 goto tb
  13. if errorlevel=30 goto importpack
  14. if errorlevel=24 goto tb
  15. if errorlevel=20 goto importmail
  16. if errorlevel=12 goto tb
  17. if errorlevel=15 goto daily
  18. if errorlevel=3 goto tb
  19. if errorlevel=1 goto end
  20. goto start
  21.  
  22. :daily
  23. Echo Running Daily Event at Midnight
  24. tbfido %1 -p
  25. goto start
  26.  
  27. :importmail
  28. Echo Importing Newly Recieved Mail Event
  29. tbfido %1
  30. goto start
  31.  
  32. :importpack
  33. Echo Importing Packed Mail Event
  34. tbfido %1
  35.  
  36. goto start
  37.  
  38. :normaltb
  39. turboard %1 -l
  40. if errorlevel=255 goto start
  41. if errorlevel=254 call NODE1.BAT
  42. if errorlevel=253 call NODE2.BAT
  43. if errorlevel=252 call NODE3.BAT
  44. if errorlevel=251 call NODE4.BAT
  45. if errorlevel=250 call NODE5.BAT
  46. if errorlevel=249 call NODE6.BAT
  47. goto normaltb
  48.  
  49. :tb
  50. call BBSBATCH
  51. goto start
  52.  
  53. :nonodelist
  54. echo BinkleyTerm cannot find your node in the nodelist!
  55.  
  56. :end
  57. ECHO Thank you for using TurBoard!
  58.